import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/about',
      name: 'about',
      // route level code-splitting
      // this generates a separate chunk (About.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import('../views/AboutView.vue'),
    },
     {
      path: '/Show',
      component: () => import('../views/Show.vue'),
    },
     {
      path: '/hoteladd',
      component: () => import('../views/hoteladd.vue'),
    },
    {
      path: '/hotelshow',
      component: () => import('../views/hotelshow.vue'),
    },
      {
      path: '/Update',
      component: () => import('../views/Update.vue'),
    },
      {
      path: '/Prologin',
      component: () => import('../views/Prologin.vue'),
    },
       {
      path: '/Proadd',
      component: () => import('../views/Proadd.vue'),
    },
      {
      path: '/Proshow',
      component: () => import('../views/Proshow.vue'),
    },
     {
      path: '/Updatee',
      component: () => import('../views/Updatee.vue'),
    },
     {
      path: '/HouseShow',
      component: () => import('../views/HouseShow.vue'),
    },
     {
      path: '/HouseAdd',
      component: () => import('../views/HouseAdd.vue'),
    },
     {
      path: '/UpdateHouse',
      component: () => import('../views/UpdateHouse.vue'),
    },
     {
      path: '/HouseFan',
      component: () => import('../views/HouseFan.vue'),
    },
      {
      path: '/addprice',
      component: () => import('../views/addprice.vue'),
    },
    {
      path: '/numadd',
      component: () => import('../views/numadd.vue'),
    },
    {
      path: '/numshow',
      component: () => import('../views/numshow.vue'),
    },
       {
      path: '/Htshow',
      component: () => import('../views/Htshow.vue'),
    },
      {
      path: '/Freeshow',
      component: () => import('../views/Freeshow.vue'),
    },
      {
      path: '/Freeadd',
      component: () => import('../views/Freeadd.vue'),
    },
      {
      path: '/studentadd',
      component: () => import('../views/studentadd.vue'),
    },
  ],
})

export default router
